# -- coding: utf-8 -- 
# Name: app

from flask import Flask
from models import User
from external import db
import external

app = Flask(__name__)
app.config.from_object(external)
db.init_app(app)

with app.app_context():
    db.create_all()


@app.route('/')
def hello_world():
    return 'hello world!'


if __name__ == '__main__':
    app.run(debug=True)
